function area1(shape:string, width:number, height:number){
    let area = width * height;
    return "I'm a"+shape+"with an area of"+area+"cm squared.";
}
document.body.innerHTML=area1("rectangle",30,15);